package com.baomidou.ant.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SignInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    /**
     * 对应用户
     */
    private Integer userId;

    /**
     * 最新一次签到时间 
     */
    private LocalDateTime signIn;

    /**
     * 签到次数
     */
    private Integer signTimes;


}
